package com.dragon.lib_common.log

import com.dragon.lib_log.LoggerLevel
import com.dragon.lib_log.LoggerStrategy
import com.dragon.lib_log.log.LoggerManger


/***
 * @ClassName LoggerUtils
 * @Author Administrator
 * @description
 * @date 2025/2/22
 */
class LoggerUtils {
    companion object {
        private val logger = LoggerManger.Builder()
            .setTAG("IVideoLogger::")
            .setLoggerLevel(LoggerLevel.DEBUG)
            .setLoggerStrategy(LoggerStrategy.LOGCAT)
            .setDebug(true)
            .setSaveUrl("")
            .build()

        fun d(tag: String, log: String) {
            logger.d(tag, log)
        }

        fun w(tag: String, log: String) {
            logger.w(tag, log)
        }

        fun v(tag: String, log: String) {
            logger.v(tag, log)
        }

        fun e(tag: String, log: String) {
            logger.e(tag, log)
        }

        fun i(tag: String, log: String) {
            logger.i(tag, log)
        }

    }
}